package com.fan.entity;

import lombok.Data;

import java.util.Date;

@Data
public class EventCert {

    private Long id;
    private Long tenant;
    private Long customerId;
    private String docId;
    private Long bizId;
    private String bizName;
    private String tenantType;
    private String applyType;
    private String name;
    private String caType;
    private String rand;
    private String serialNo;
    private Date startTime;
    private Date endTime;
    private Date createTime;
    private String algorithm;
    private Integer hashcode;

    public EventCert(Long id, Long tenant, Long customerId, String docId, Long bizId,
                     String bizName, String tenantType, String applyType, String name,
                     String caType, String rand, String serialNo, Date startTime,
                     Date endTime, Date createTime, String algorithm, Integer hashcode) {
        this.id = id;
        this.tenant = tenant;
        this.customerId = customerId;
        this.docId = docId;
        this.bizId = bizId;
        this.bizName = bizName;
        this.tenantType = tenantType;
        this.applyType = applyType;
        this.name = name;
        this.caType = caType;
        this.rand = rand;
        this.serialNo = serialNo;
        this.startTime = startTime;
        this.endTime = endTime;
        this.createTime = createTime;
        this.algorithm = algorithm;
        this.hashcode = hashcode;
    }
}
